{% extends "master.html" %}

{% block content %}
<form action="/customize" enctype="multipart/form-data" method="POST">
    {% if user.displayname %}
        <p>Display Name: <input type="text" name="displayname" value="{{user.displayname}}"/></p>
    {% else %}
    <p>Display Name: <input type="text" name="displayname" value="{{user.google_user}}"/></p>
    {% endif %}
    <p>Email: <span>{{user.google_user}}</span></p>
    <p>Avatar: <input type="file" name="avatar"/></p>
    <p>About Me: <textarea name="aboutMe"/>{{user.aboutMe}}</textarea></p>
    <p>Website: <input type="text" name="website" value="{{user.website}}"/></p>
    <p><input type="submit" value="Update Profile"/></p>
</form>
{% endblock %}
